package org.scirp.ijmis.dao.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.common.ICurrencyDAO;
import org.scirp.ijmis.po.common.Currency;

public class CurrencyDAOImpl extends BaseDAOImpl<Currency> implements ICurrencyDAO {

	private static final String className = CurrencyDAOImpl.class.toString();

	public List<Currency> selectAll() {

		String hql = "from Currency order by pid asc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

	public Long countObject() {
		return super.countObject(className + "-->selectAll");
	}

	public Currency selectById(Object id) {

		return (Currency) super.selectById(id, className + "-->selectById");
	}

}
